<template>
  <div class="manager">
    <router-view></router-view>
    <!-- 用于接受管理页面，首页，订单页，我的页面 -->
    <van-tabbar v-model="active" route>
      <van-tabbar-item icon="home-o" to="/manager/home">首页</van-tabbar-item>
      <van-tabbar-item icon="orders-o" to="/manager/order">订单</van-tabbar-item>
      <van-tabbar-item icon="service-o" to="/manager/help">帮助</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/manager/mine">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style scoped>
</style>